package com.hfdg.organization.entity;

import com.hfdg.prototype.base.annotations.Column;
import com.hfdg.prototype.base.annotations.Table;
import com.hfdg.prototype.base.entity.BaseEntity;

/**
 * @ClassName Department
 * @Description TODO
 * @Author yuelh
 * @Date 2020-2-1 20:26
 * @Version 1.0
 * @Company 会飞的锅工作室
 **/
@Table(title = "部门信息",name = "org_department",comment = "部门信息")
public class Department extends BaseEntity {
    @Column(title = "上级部门UID",comment = "上级部门UID，如果为顶级部门，则默认上级部门UID为0")
    String parentDepartmentUid;
    @Column(title = "部门名称",comment = "部门名称")
    String name;
    @Column(title = "部门主管ID",comment = "部门主管ID")
    String directorUid;
    public String getName() {
        return name;
    }

    public String getParentDepartmentUid() {
        return parentDepartmentUid;
    }

    public void setParentDepartmentUid(String parentDepartmentUid) {
        this.parentDepartmentUid = parentDepartmentUid;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDirectorUid() {
        return directorUid;
    }

    public void setDirectorUid(String directorUid) {
        this.directorUid = directorUid;
    }
}
